Skip to content

fix: PodMonitor#2921

Merged
adamjensenbot merged 1 commit intoliqotech:masterfrom
kariya-mitsuru:fix-pmon
Feb 18, 2025
Merged

fix: PodMonitor#2921
adamjensenbot merged 1 commit intoliqotech:masterfrom
kariya-mitsuru:fix-pmon

Conversation

@kariya-mitsuru
Copy link
Contributor

Description

Fix PodMonitor.

  • crd-replicator

    Commit 10ef308 changed the default port for metrics from 8080 to 8082, but crd-replicator was not changed because there is no command line option. However, only the Deployment port was changed to 8082, so PodMonitor no longer works properly.

    This commit reverts the Deployment port back to 8080.

  • VirtualKubelet

    Commit ddafea0 changed the label of VirtualKubelet but did not change the PodMonitor selector so it no longer works correctly.

    This commit makes PodMonitor's selector follow commit ddafea0.

@github-actions github-actions bot added the fix Fixes a bug in the codebase. label Feb 6, 2025
@adamjensenbot
Copy link
Collaborator

Hi @kariya-mitsuru. Thanks for your PR!

I am @adamjensenbot.
You can interact with me issuing a slash command in the first line of a comment.
Currently, I understand the following commands:

  • /rebase: Rebase this PR onto the master branch (You can add the option test=true to launch the tests
    when the rebase operation is completed)
  • /merge: Merge this PR into the master branch
  • /build Build Liqo components
  • /test Launch the E2E and Unit tests
  • /hold, /unhold Add/remove the hold label to prevent merging with /merge

Make sure this PR appears in the liqo changelog, adding one of the following labels:

  • feat: 🚀 New Feature
  • fix: 🐛 Bug Fix
  • refactor: 🧹 Code Refactoring
  • docs: 📝 Documentation
  • style: 💄 Code Style
  • perf: 🐎 Performance Improvement
  • test: ✅ Tests
  • chore: 🚚 Dependencies Management
  • build: 📦 Builds Management
  • ci: 👷 CI/CD
  • revert: ⏪ Reverts Previous Changes

@cheina97
Copy link
Member

/rebase test=true

* crd-replicator

Commit 10ef308 changed the default port for metrics from 8080 to 8082,
but crd-replicator was not changed because there is no command line option.
However, only the deployment port was changed to 8082, so PodMonitor no
longer works properly.

This commit adds the command line option, which defaults to 8082.

* virtualkubelet

Commit ddafea0 changed the label of VirtualKubelet but did not change
the PodMonitor selector so it no longer works correctly.

This commit makes PodMonitor's selector follow commit ddafea0.

Signed-off-by: Mitsuru Kariya <[email protected]>
@cheina97
Copy link
Member

/merge

@adamjensenbot adamjensenbot added the merge-requested Request bot merging (automatically managed) label Feb 18, 2025
@adamjensenbot adamjensenbot merged commit ff8055b into liqotech:master Feb 18, 2025
14 checks passed
@adamjensenbot adamjensenbot removed the merge-requested Request bot merging (automatically managed) label Feb 18, 2025
@kariya-mitsuru kariya-mitsuru deleted the fix-pmon branch February 19, 2025 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Fixes a bug in the codebase. size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants